<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>用户上传</p>
    <form action="/portrait" method="post" enctype="multipart/form-data">
    <br>
    <span>用户名:</span><input type="text" name="user">
    <br>文件: <input type="file" name="file">
    <button>上传</button></form>
</body>
</html>